package com.kly.chatter.api.application.controller.chatter.req;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


public class SwitchModelNotifyReq implements Serializable {

    @ApiModelProperty(value = "切换发起的model code")
    private String fromModel;

    @ApiModelProperty(value = "请求接口时候的时间戳")
    private String timestamp;

    @ApiModelProperty(value = "上一个model的未读消息数")
    private Integer unreadMsgOfFromModel=0;

    @ApiModelProperty(value = "额外信息")
    private String extra;


    public String getFromModel() {
        return fromModel;
    }

    public SwitchModelNotifyReq setFromModel(String fromModel) {
        this.fromModel = fromModel;
        return this;
    }


    public String getTimestamp() {
        return timestamp;
    }

    public SwitchModelNotifyReq setTimestamp(String timestamp) {
        this.timestamp = timestamp;
        return this;
    }

    public Integer getUnreadMsgOfFromModel() {
        return unreadMsgOfFromModel;
    }

    public SwitchModelNotifyReq setUnreadMsgOfFromModel(Integer unreadMsgOfFromModel) {
        this.unreadMsgOfFromModel = unreadMsgOfFromModel;
        return this;
    }

    public String getExtra() {
        return extra;
    }

    public SwitchModelNotifyReq setExtra(String extra) {
        this.extra = extra;
        return this;
    }
}
